package ophiux.wechatpay.sdk.common.parse;

import java.util.List;

import ophiux.wechatpay.sdk.OphiuxWeChatPaySDKException;

public interface Reader {

	//是否存在节点    返回true/false
	public boolean isExistNode(String tagNames);
	
	//节点值ֵ
	public Object getNodeValue(String tagNames);
	
	//节点对象
	public Object getNodeObject(String tagName,Class<?> subType) throws OphiuxWeChatPaySDKException;
	
	//节点数组
	public List<?> getNodeListObject(String parentName,String tagNames,Class<?> subType) throws OphiuxWeChatPaySDKException;
	
}
